package com.aaron.singleton.unlazy;

public class UnLazySingleton {
	
	//在类加载时，初始化类的静态成员变量在方法区
	public static final UnLazySingleton singleClass = new UnLazySingleton();
	
	private UnLazySingleton(){
		System.out.println("call the private UnLazySingleton constructor... ");
	}
	
	public static UnLazySingleton getInstance(){
		return singleClass;
	}
	
}
